package com.ibeeking.found.msg.service.common.dos;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * @ClassName WxmpAutoReturnMessageLogDo
 * @Description
 * @Author ibeeking
 * @Date 2021-01-27 18:24
 **/
@Data
@TableName("wx_mp_auto_return_message_log")
public class WxMpAutoReturnMessageLogDO implements Serializable {
	private static final long serialVersionUID = 1L;

	@TableId(type = IdType.ASSIGN_ID)
	private Long id;

	/**
	 * 公众号id
	 */
	@TableField(value="app_id")
	private String appId;

	/**
	 * open_id
	 */
	@TableField(value="open_id")
	private String openId;

	/**
	 * 发送消息类型
	 */
	@TableField(value="message_type")
	private String messageType;

	/**
	 * 事件类型
	 */
	@TableField(value="event")
	private String event;

	/**
	 * 发送的内容
	 */
	@TableField(value="content")
	private String content;

	/**
	 * 获取发来的消息
	 */
	@TableField(value="get_content")
	private String getContent;

	/**
	 * 发送还是接收 1发送 0接收
	 */
	@TableField(value="get_send")
	private Integer getSend;

	/**
	 * 回复类型 key=关键字回复
	 */
	@TableField(value="type")
	private String type;

	@TableField(value = "create_time")
	private LocalDateTime createTime;

	@TableField(value = "create_by")
	private Long createBy;

	@TableField(value = "del_status")
	private Integer delStatus = 0;

}
